<template>
    <div v-if="video.length" style="text-align:center;">
        <embed v-for="item in video" style="margin:10px;" width="50%;" height="270px"  wmode="opaque" quality="high" allowfullscreen="true" type="application/x-shockwave-flash"
            :flashvars="'file='+item.url" pluginspage="http://www.macromedia.com/go/getflashplayer" src="/Common/flash/flvplayer.swf">
        <div style="color:red;">无法播放视频请下载<a href="http://www.macromedia.com/go/getflashplayer">Adobe Flash Player ActiveX(flash播放器插件) </a></div>
    </div>
</template>

<script>
export default {
    name: "CustomVideo",
    props: {
        video: {
            type: Array,
            default: () => { return []; }
        }
    }
}
</script>

<style>

</style>
